# Maintainer: Antonio Rojas <arojas@archlinux.org>

_dbname=polytopes_db
pkgname=sage-data-$_dbname
pkgver=20170220
pkgrel=2
pkgdesc="Reflexive polytopes database"
arch=(any)
url="https://www.sagemath.org"
license=(GPL)
depends=()
makedepends=()
source=("https://mirrors.mit.edu/sage/spkg/upstream/polytopes_db/$_dbname-$pkgver.tar.bz2")
sha256sums=('cb788bdfca6e00864ec0bfa67932a68ae68bfeb9c527a91be90ad218026a0ce0')

package() {
  cd $_dbname-$pkgver
  mkdir -p "$pkgdir"/usr/share/reflexive_polytopes
  cp -r * "$pkgdir"/usr/share/reflexive_polytopes
}
